/**
 * 
 */
package it.uniroma3.engine.model.comparator;

import it.uniroma3.engine.model.CandidateProteinName;

import java.util.Comparator;

/**
 * @author Accosta Augusto
 * @author Lopez Elisabetta
 *
 */
public class CompareCandidatesByName implements Comparator<CandidateProteinName> {

	@Override
	public int compare(CandidateProteinName o1, CandidateProteinName o2) {
		return o1.getCandidateProtein().compareTo(o2.getCandidateProtein());
	}

}
